Skip to content

Add GitHub Actions workflow for automated releases - #3

Merged
liamgallear merged 3 commits into
mainfrom
copilot/fix-f23a6447-1eeb-4da8-9ba4-2f28dd6154fd
Sep 24, 2025
Merged

Add GitHub Actions workflow for automated releases#3
liamgallear merged 3 commits into
mainfrom
copilot/fix-f23a6447-1eeb-4da8-9ba4-2f28dd6154fd

Conversation

Copilot AI commented Sep 24, 2025

Copy link
Copy Markdown
Contributor

This PR adds a complete GitHub Actions workflow that automatically generates releases when version tags are pushed to the repository.

What's New

🚀 Automated Release Workflow

  • Trigger: Automatically runs when a git tag starting with 'v' is pushed (e.g., v1.0.0, v2.1.3)
  • Cross-platform builds: Creates binaries for 6 different platform/architecture combinations:
    • Linux (AMD64, ARM64)
    • macOS (AMD64, ARM64) - Intel and Apple Silicon
    • Windows (AMD64, ARM64)
  • GitHub Releases: Automatically creates releases with:
    • Auto-generated release notes
    • All built binaries attached as downloadable assets
    • Proper semantic versioning support

📚 Enhanced Documentation

  • README.md: Added section about downloading pre-built binaries for end users
  • RELEASES.md: New maintainer guide explaining the release process
  • Updated .gitignore: Excludes build artifacts from version control

How It Works

For maintainers creating a release:

git tag v1.0.0
git push origin v1.0.0

For users: Visit the Releases page and download the appropriate binary for your platform - no need to build from source!

Benefits

  • Zero-maintenance releases: Just push a tag and everything happens automatically
  • Better user experience: Users can download pre-built binaries instead of requiring Go toolchain
  • Cross-platform support: Covers all major operating systems and architectures
  • Professional presentation: Clean releases with auto-generated notes and organized assets

The workflow uses GitHub Actions best practices with proper permissions, trusted actions (checkout@v4, setup-go@v5, action-gh-release@v2), and follows semantic versioning conventions.

Closes the issue requesting automated release generation.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/actions/go-versions/releases/latest
    • Triggering command: curl -s REDACTED (http block)

If you need me to access, download, or install something from one of these locations, you can either:


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Copilot AI and others added 2 commits September 24, 2025 08:13
Co-authored-by: liamgallear <185555686+liamgallear@users.noreply.github.com>
Co-authored-by: liamgallear <185555686+liamgallear@users.noreply.github.com>
Copilot AI changed the title [WIP] Create a workflow that will generate a new release when a push is made with a tag Add GitHub Actions workflow for automated releases Sep 24, 2025
Copilot AI requested a review from liamgallear September 24, 2025 08:16
@liamgallear
liamgallear marked this pull request as ready for review September 24, 2025 08:21
@liamgallear
liamgallear merged commit daf8263 into main Sep 24, 2025
@liamgallear
liamgallear deleted the copilot/fix-f23a6447-1eeb-4da8-9ba4-2f28dd6154fd branch September 24, 2025 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants